0.0
NA
CVE-2025-40240
sctp: avoid NULL dereference when chunk data buffer is missing
Description

In the Linux kernel, the following vulnerability has been resolved: sctp: avoid NULL dereference when chunk data buffer is missing chunk->skb pointer is dereferenced in the if-block where it's supposed to be NULL only. chunk->skb can only be NULL if chunk->head_skb is not. Check for frag_list instead and do it just before replacing chunk->skb. We're sure that otherwise chunk->skb is non-NULL because of outer if() condition.

INFO

Published Date :

Dec. 4, 2025, 4:16 p.m.

Last Modified :

Dec. 4, 2025, 5:15 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-40240 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Kernel memory corruption due to NULL dereference in sctp. Apply kernel updates.
  • Update the Linux kernel to the latest version.
  • Apply security patches released for the kernel.
  • Reboot the system after updates.
  • Verify system integrity post-remediation.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-40240 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-40240 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-40240 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-40240 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 04, 2025

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: sctp: avoid NULL dereference when chunk data buffer is missing chunk->skb pointer is dereferenced in the if-block where it's supposed to be NULL only. chunk->skb can only be NULL if chunk->head_skb is not. Check for frag_list instead and do it just before replacing chunk->skb. We're sure that otherwise chunk->skb is non-NULL because of outer if() condition.
    Added Reference https://git.kernel.org/stable/c/03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f
    Added Reference https://git.kernel.org/stable/c/08165c296597075763130919f2aae59b5822f016
    Added Reference https://git.kernel.org/stable/c/441f0647f7673e0e64d4910ef61a5fb8f16bfb82
    Added Reference https://git.kernel.org/stable/c/4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71
    Added Reference https://git.kernel.org/stable/c/61cda2777b07d27459f5cac5a047c3edf9c8a1a9
    Added Reference https://git.kernel.org/stable/c/7a832b0f99be19df608cb75c023f8027b1789bd1
    Added Reference https://git.kernel.org/stable/c/89b465b54227c245ddc7cc9ed822231af21123ef
    Added Reference https://git.kernel.org/stable/c/cb9055ba30306ede4ad920002233d0659982f1cb
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
No CVSS metrics available for this vulnerability.